package Scheduler;

public class Car implements Task
{
	private String brand;

	Car(String brand)
	{
		this.brand = brand;
	}
	
	@Override
	public void doWork() 
	{
		System.out.println(this.brand + " engane is started \"brum brum\"");
	}

	public void getCarBrand()
	{
		System.out.println("The brand of the car is: " + this.brand);
	}
	
}
